package com.haoniu.installment.domain;

import java.math.BigDecimal;
import com.haoniu.common.core.annotation.Excel;
import com.haoniu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 融资申请审核对象 t_jr_rent_installment
 * 
 * @author haoniu
 * @date 2022-07-25
 */
public class TJrRentInstallment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 房租分期申请单号 */
    @Excel(name = "房租分期申请单号")
    private String rentInstallmentOrderNo;

    /** 外部合同号 */
    @Excel(name = "外部合同号")
    private String outOrderNo;

    /** 商户ID */
    @Excel(name = "商户ID")
    private String bussinessId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private String deptNo;

    /** 出房合同ID */
    @Excel(name = "出房合同ID")
    private Long cfContractId;

    /** 利率 */
    @Excel(name = "利率")
    private BigDecimal rate;

    /** 租客承担比例 */
    @Excel(name = "租客承担比例")
    private BigDecimal tenantRate;

    /** 公寓承担比例 */
    @Excel(name = "公寓承担比例")
    private BigDecimal businessRate;

    /** 借款金额 */
    @Excel(name = "借款金额")
    private BigDecimal loanAmount;

    /** 借款期限 */
    @Excel(name = "借款期限")
    private Long monthLimit;

    /** 一次性服务费 */
    @Excel(name = "一次性服务费")
    private Long serviceFee;

    /** 金融产品ID */
    @Excel(name = "金融产品ID")
    private Long jrProductId;

    /** 应收租金合计 */
    @Excel(name = "应收租金合计")
    private String reLeaseCount;

    /** 公寓分期利息合计 */
    @Excel(name = "公寓分期利息合计")
    private String inInterestCount;

    /** 服务费 */
    @Excel(name = "服务费")
    private Long serCharge;

    /** 实收分期后租金合计 */
    @Excel(name = "实收分期后租金合计")
    private String coHirerentCount;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 审核备注 */
    @Excel(name = "审核备注")
    private String auditMemo;

    /** 申请状态，1:申请中，2：初审通过，3：初审不通过，4：复审通过，5：复审不通过 */
    @Excel(name = "申请状态，1:申请中，2：初审通过，3：初审不通过，4：复审通过，5：复审不通过")
    private Integer applyState;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private Long reserve1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private Long reserve2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private String reserve3;

    /** 预留字段4 */
    @Excel(name = "预留字段4")
    private String reserve4;

    /** 预留字段5 */
    @Excel(name = "预留字段5")
    private String reserve5;

    /** 删除标识 0：未删除，1：删除 */
    @Excel(name = "删除标识 0：未删除，1：删除")
    private Integer delFlg;

    /** 创建用户ID */
    @Excel(name = "创建用户ID")
    private Long createUserid;

    /** 更新用户ID */
    @Excel(name = "更新用户ID")
    private Long updateUserid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRentInstallmentOrderNo(String rentInstallmentOrderNo) 
    {
        this.rentInstallmentOrderNo = rentInstallmentOrderNo;
    }

    public String getRentInstallmentOrderNo() 
    {
        return rentInstallmentOrderNo;
    }
    public void setOutOrderNo(String outOrderNo) 
    {
        this.outOrderNo = outOrderNo;
    }

    public String getOutOrderNo() 
    {
        return outOrderNo;
    }
    public void setBussinessId(String bussinessId) 
    {
        this.bussinessId = bussinessId;
    }

    public String getBussinessId() 
    {
        return bussinessId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptNo(String deptNo) 
    {
        this.deptNo = deptNo;
    }

    public String getDeptNo() 
    {
        return deptNo;
    }
    public void setCfContractId(Long cfContractId) 
    {
        this.cfContractId = cfContractId;
    }

    public Long getCfContractId() 
    {
        return cfContractId;
    }
    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }
    public void setTenantRate(BigDecimal tenantRate) 
    {
        this.tenantRate = tenantRate;
    }

    public BigDecimal getTenantRate() 
    {
        return tenantRate;
    }
    public void setBusinessRate(BigDecimal businessRate) 
    {
        this.businessRate = businessRate;
    }

    public BigDecimal getBusinessRate() 
    {
        return businessRate;
    }
    public void setLoanAmount(BigDecimal loanAmount) 
    {
        this.loanAmount = loanAmount;
    }

    public BigDecimal getLoanAmount() 
    {
        return loanAmount;
    }
    public void setMonthLimit(Long monthLimit) 
    {
        this.monthLimit = monthLimit;
    }

    public Long getMonthLimit() 
    {
        return monthLimit;
    }
    public void setServiceFee(Long serviceFee) 
    {
        this.serviceFee = serviceFee;
    }

    public Long getServiceFee() 
    {
        return serviceFee;
    }
    public void setJrProductId(Long jrProductId) 
    {
        this.jrProductId = jrProductId;
    }

    public Long getJrProductId() 
    {
        return jrProductId;
    }
    public void setReLeaseCount(String reLeaseCount) 
    {
        this.reLeaseCount = reLeaseCount;
    }

    public String getReLeaseCount() 
    {
        return reLeaseCount;
    }
    public void setInInterestCount(String inInterestCount) 
    {
        this.inInterestCount = inInterestCount;
    }

    public String getInInterestCount() 
    {
        return inInterestCount;
    }
    public void setSerCharge(Long serCharge) 
    {
        this.serCharge = serCharge;
    }

    public Long getSerCharge() 
    {
        return serCharge;
    }
    public void setCoHirerentCount(String coHirerentCount) 
    {
        this.coHirerentCount = coHirerentCount;
    }

    public String getCoHirerentCount() 
    {
        return coHirerentCount;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setAuditMemo(String auditMemo) 
    {
        this.auditMemo = auditMemo;
    }

    public String getAuditMemo() 
    {
        return auditMemo;
    }
    public void setApplyState(Integer applyState) 
    {
        this.applyState = applyState;
    }

    public Integer getApplyState() 
    {
        return applyState;
    }
    public void setReserve1(Long reserve1) 
    {
        this.reserve1 = reserve1;
    }

    public Long getReserve1() 
    {
        return reserve1;
    }
    public void setReserve2(Long reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public Long getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve5(String reserve5) 
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5() 
    {
        return reserve5;
    }
    public void setDelFlg(Integer delFlg) 
    {
        this.delFlg = delFlg;
    }

    public Integer getDelFlg() 
    {
        return delFlg;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setUpdateUserid(Long updateUserid) 
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid() 
    {
        return updateUserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rentInstallmentOrderNo", getRentInstallmentOrderNo())
            .append("outOrderNo", getOutOrderNo())
            .append("bussinessId", getBussinessId())
            .append("deptId", getDeptId())
            .append("deptNo", getDeptNo())
            .append("cfContractId", getCfContractId())
            .append("rate", getRate())
            .append("tenantRate", getTenantRate())
            .append("businessRate", getBusinessRate())
            .append("loanAmount", getLoanAmount())
            .append("monthLimit", getMonthLimit())
            .append("serviceFee", getServiceFee())
            .append("jrProductId", getJrProductId())
            .append("reLeaseCount", getReLeaseCount())
            .append("inInterestCount", getInInterestCount())
            .append("serCharge", getSerCharge())
            .append("coHirerentCount", getCoHirerentCount())
            .append("remarks", getRemarks())
            .append("auditMemo", getAuditMemo())
            .append("applyState", getApplyState())
            .append("reserve1", getReserve1())
            .append("reserve2", getReserve2())
            .append("reserve3", getReserve3())
            .append("reserve4", getReserve4())
            .append("reserve5", getReserve5())
            .append("delFlg", getDelFlg())
            .append("createUserid", getCreateUserid())
            .append("createTime", getCreateTime())
            .append("updateUserid", getUpdateUserid())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
